package indi.jp.project.core.dao;

import indi.jp.project.core.entity.po.AttachmentPO;
import org.apache.ibatis.annotations.Mapper;

import java.sql.SQLException;
import java.util.List;

/**
 * 附件DAO
 *
 * @author jiangping
 * @date 2022/5/14
 */
@Mapper
public interface AttachmentDAO {

    void deleteById(String id) throws SQLException;

    void delete(String sId, Integer category) throws SQLException;

    void insert(AttachmentPO attachmentPO) throws SQLException;

    void batchInsert(List<AttachmentPO> list) throws SQLException;

    List<AttachmentPO> queryList(String sId, Integer category) throws SQLException;



}
